package com.link.ppt.Model;

import com.link.ppt.Model.Bean.BaseBean;
import com.link.ppt.Model.Bean.ExpertFieldBean;
import com.link.ppt.Model.Bean.PersonalInfoBean;
import com.link.ppt.Model.Bean.SimpleUserInfoBean;

import java.util.Map;

import okhttp3.RequestBody;
import rx.Observable;

/**
 * Created by liucxu on 2017/7/11.
 */

public interface IUserModel {
//    Observable<AnonymousResponseBean> CreateAnonymousUser(HashMap<String, String> params);
      Observable<BaseBean> GetVerificationCode(String mobile,String countryCode);
      Observable<SimpleUserInfoBean> LoginByCode(String mobile,String verificationCode);
      Observable<SimpleUserInfoBean> RegisterUser(Map<String, RequestBody> params);
      Observable<ExpertFieldBean> requestIndustry();
      Observable<PersonalInfoBean> RequestUserInfo();
      Observable<BaseBean> EditUserInfo(Map<String, RequestBody> params);
//    Observable<AnonymousResponseBean> CreatePhoneUserAccount(HashMap<String, String> params);
//    Observable<BaseBean> GetVerificationCodeLogin(HashMap<String, String> params);
//    Observable<AnonymousResponseBean> PhoneLogin(HashMap<String, String> params);
//    Observable<BaseBean> CompleteUserInfo(Map<String, RequestBody> params);
//    Observable<BaseBean> BindUserPhone(HashMap<String, String> params);
//    Observable<BaseBean> BindUserPhoneTest(HashMap<String, String> params);
//    Observable<BaseBean> GetVerificationCodeBind(HashMap<String, String> params);
//    Observable<AnonymousResponseBean> wechatLogin(Map<String, RequestBody> params);
//    Observable<BaseBean> BindWechat(String unionId);
//    Observable<BaseBean> TestTokenValidate();
//    Observable<UserInfoBean> RequestUserInfo();
//    Observable<BaseBean> CountKey(String key);
}
